<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>Yooes管理中心</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="/sys-admin/css/general.css" rel="stylesheet" type="text/css">
<link href="/sys-admin/css/main.css" rel="stylesheet" type="text/css">
<script src="/sys-admin/js/jquery.js" type="text/javascript"></script>
<script src="/sys-admin/js/cn_message.js" type="text/javascript"></script>
<script src="/sys-admin/js/validate.js" type="text/javascript"></script>
</head>
<body>
<h1><span class="action-span1">管理员添加</span></h1>
<div class="list-div">
<form action="/sys-admin/action/auth/admin.php" method="post" name="addadmin">
<input type="hidden" name="met" value="add"/>
<table>
 <tr>
    <td class="label"><span class="require-field">*</span>昵称</td>
    <td><input type="text" name="username" maxlength="40" value="" size="20" vtype="required-letter-digital" vname="admin_add_username" vmin="6" vmax="20"/><span id="admin_add_username_m"></span></td>
 </tr>
 <tr>
    <td class="label"><span class="require-field">*</span>姓名</td>
    <td><input type="text" name=realname maxlength="30" value="" size="20" vtype="required" vname="admin_add_realname"/><span id="admin_add_realname_m"></span></td>
 </tr>
 <tr>
    <td class="label"><span class="require-field">*</span>电话</td>
    <td><input type="text" name="phone" maxlength="15" value="" size="15" vtype="required" vname="admin_add_phone"/><span id="admin_add_phone_m"></span></td>
 </tr>
 <tr>
    <td class="label"><span class="require-field">*</span>邮箱</td>
    <td><input type="text" name="email" maxlength="120" value="" size="30" vtype="required-email" vname="admin_add_email"/><span id="admin_add_email_m"></span></td>
 </tr>
 <tr>
    <td class="label">角色</td>
    <td><select name="roleid">
    <option value="">--请选择--</option>
    <{foreach from=$roles item=role}> 
		<option value="<{$role.2}>"><{$role.0}></option>  
	<{/foreach}> 
    </select>
    </td>
 </tr>
 <tr>
    <td class="label"></td>
    <td>
      <input type="submit"  name="Submit"   value="保存 " class="button" onclick="return checkForm();"/>&nbsp;&nbsp;&nbsp;
   </td>
  </tr>
  </table>
 </form>
</div>
</body></html>